<?php

$this->group(['domain' => env('DOMAIN_ADMIN'),'prefix' => 'config/category'], function() {

    $this->post('/update/','CategoryController@postUpdate');

	$this->get('/view/tree','CategoryController@getTree');

	$this->delete('/delete/{id}', 'CategoryController@deleteOne')->where('id','[0-9]+');
});